package net.wanho.service.impl;

import net.wanho.dao.UserDao;
import net.wanho.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author：汤小洋
 * Date：2024-08-08 16:40
 * Description：<描述>
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;


    @Override
    public void login(String username, String password) {
        System.out.println("UserServiceImpl.login.............." + username + ":" + password);;
    }

    @Override
    public String logout() {
        System.out.println("UserServiceImpl.logout............");

        int i = 5/0;

        return "bye bye";
    }


}
